DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews Namespace / View<T> Class / OrderBy<TKey>(Expression<Func<T,TKey>>) Method
The type of the key returned by keySelector.
A function to extract a key from an element.

In This Topic
    OrderBy<TKey>(Expression<Func<T,TKey>>) Method
    In This Topic
    Sorts the elements of a view in ascending order.
    Syntax
    'Declaration
     
    Public Function OrderBy(Of TKey)( _
       ByVal keySelector As Expression(Of Func(Of T,TKey)) _
    ) As OrderedView(Of T)

    Parameters

    keySelector
    A function to extract a key from an element.

    Type Parameters

    TKey
    The type of the key returned by keySelector.

    Return Value

    A view whose elements are sorted according to a key.
    See Also